<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="jstl-core" prefix="c" %>
<html>
<head>
<title>worklist</title>
</head>
<body>
<center>
	<table>
		<tr>
			<th>工作项标志号</th>
			<th>名称</th>
			<th>参与人</th>
			<th>优先级</th>
			<th>状态</th>
			<th>所属活动</th>
			<th>所属流程</th>
			<th>工作项创建时间</th>
			<th>工作项结束时间</th>
		</tr>
		
		<c:forEach var="workitem" items="${workitemList}">
		<tr>
			<td><c:out value="${workitem.id}"/></td>
			<td><c:out value="${workitem.name}"/></td>
			<td><c:out value="${workitem.participant}"/></td>
			<td><c:out value="${workitem.priority}"/></td>
			<td><c:out value="${workitem.state }"/></td>
			<td><a href='workflowmonitor.html?method=showProessPic&isProcessClosed=true&procInstId=<c:out value="${workitem.processInstanceId}"/>'><c:out value="${workitem.processInstanceId}"/></a></td>
			<td><c:out value="${workitem.processInstanceId}"/></td>
			<td><c:out value="${workitem.createTime}"/></td>
			<td><c:out value="${workitem.completeTime}"/></td>
		</tr>
		</c:forEach>
		
	</table>
</center>
</body>
</html>